Masteriyo\RestApi\Controllers\Version1\OnboardingController B

Total Complexity 93
Dependencies 10
Dependents 1
Total lines 822
Lines of code 455
Logical lines of code 196
Comment lines 251
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
handle_payment_step_actions()
A
45 15 42
validate_onboarding_data()
A
50 9 31
handle_marketplace_step_actions()
S
52 6 25
merge_onboarding_data()
S
57 6 17
create_item()
S
53 5 23
handle_course_step_actions()
S
53 5 21
validate_step_data()
S
55 5 19
get_default_onboarding_data()
S
41 1 61
update_item()
S
50 3 28
handle_business_type_step_actions()
S
61 4 12
validate_property()
S
64 4 11
import_sample_courses()
S
54 3 21
register_routes()
S
46 1 47
sanitize_option_value()
S
64 4 10
get_item()
S
58 2 16
validate_step_options()
S
65 3 9
sanitize_request_params()
S
64 3 10
permissions_check()
S
71 3 6
validate_step_parameter()
S
60 2 14
handle_step_specific_actions()
S
62 2 11
get_items()
S
80 1 3
get_onboarding_data()
S
81 1 3
update_item_permissions_check()
S
80 1 3
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
get_items_permissions_check()
S
80 1 3
handle_getting_started_actions()
S
82 1 3